home *** CD-ROM | disk | FTP | other *** search
- #ifndef __MAINWIN_H
- #define __MAINWIN_H
-
- // -[Keep_Heading]-
-
-
- // -[Copyright_Mesg]-
- // --------------------------------------------------------------- //
- // (c) Copyright 1993-1994. Step Ahead Software Pty Limited. All rights reserved.
- // Class Header Filename: MAINWIN.h
- // Description:
- // Main window of graphics application.
- // --------------------------------------------------------------- //
- #define CC_GEN 1
- #include <OWL.H> // Automatically added before TWindow
- #include <WINDOW.h>
-
-
- // -[Keep_h_Extras]-
- #include <array.h> // Container class library array
-
-
- // -[Class_Dec]-
- class GraphicWindow;
- typedef GraphicWindow * PGraphicWindow;
- typedef GraphicWindow & RGraphicWindow;
- typedef GraphicWindow * & RPGraphicWindow;
- typedef const GraphicWindow * PCGraphicWindow;
- typedef const GraphicWindow & RCGraphicWindow;
-
- class GraphicWindow : public TWindow
- {
- // -[Keep_Class_Extras]-
-
-
- // -[Member_Data_Decs]-
- public:
- protected:
- private:
- public:
- PArray displays;
-
-
- // -[Member_Function_Decs]-
- public:
-
- GraphicWindow(PTWindowsObject AParent, LPSTR ATitle);
-
- virtual void Paint(HDC hDC, PAINTSTRUCT _FAR &);
-
- virtual void WMLButtonDown(RTMessage Msg)
- = [WM_FIRST + WM_LBUTTONDOWN];
- protected:
- private:
-
-
- // -[Persistent_1]-
- };
-
- // -[Persistent_2]-
-
-
- // -[Keep]-
-
-
- // -[Global_Data_Decs]-
-
-
- // -[Global_Function_Decs]-
-
- int PASCAL WinMain(HANDLE hInstance, HANDLE hPrevInstance, LPSTR lpCmdLine, int nCmdShow);
-
- // -[Function_Defs]-
-
- // -[End_Cond]-
- #endif __MAINWIN_H